/*
 * @Date: 2022-03-04 11:07:17
 * @LastEditors: 春贰
 * @gitee: https://gitee.com/chun22222222
 * @github: https://github.com/chun222
 * @Desc: 
 * @LastEditTime: 2022-03-28 17:29:31
 * @FilePath: \web\src\api\module\SysConfig.js
 */
import http from '../http'

const Api = {
    list: '/config/list',
    add: '/config/add',
    edit: '/config/edit', 
    remove: '/config/remove', 
}

export const list = data => { 
    return http.request({
        url: Api.list,
        data: data,
        method: 'POST'
    })
}
 
export const add = data => {
    return http.request({
        url: Api.add,
        data: data,
        method: 'POST'
    })
}

export const edit = data => {
    return http.request({
        url: Api.edit,
        data: data,
        method: 'POST'
    })
}

export const remove = data => {
    return http.request({
        url: Api.remove,
        data: data,
        method: 'POST'
    })
}

 